/*
 * FileName : STM32_FTP.h
 *
 * Description : FTP client, send file in PASV mode.
 *
 * Created on 2016.09.27 by WFL.
 *
 * Revision History:
 *
 */
#ifndef  STM32_FTPCLIENT
#define  STM32_FTPCLIENT


#include <stdint.h>


#define NOCONNECT		0X00
#define CONNECTED		0X01
#define CONLOGIN		0X02


#define FTPCMDOK		0X00
#define FTPCMDSENDERR	0X01
#define FTPCMDNOACK		0X02
#define FTPCMDACKERR	0X03

#define FTPCTRLCONERR	0X04
#define FTPCTRLSOCERR1	0X05
#define FTPCTRLSOCERR2	0X06


#define FTPDATACONERR	0X07

#define FTPDATASENDERR	0X08





extern uint8_t sendFile(uint8_t *buf,uint32_t len,uint8_t *mes,uint8_t* filename);




#endif     
















